package com.clearmine.minesweeper.service;

import com.clearmine.minesweeper.model.Cell;
import com.clearmine.minesweeper.model.GameMessage;
import com.clearmine.minesweeper.model.GameState;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.ConcurrentHashMap;

public interface GameService {

    public GameMessage createRoom(String playerId);

    public GameMessage joinRoom(String roomId, String playerId);

    public GameMessage handleGameAction(GameMessage message);
}